package com.example.demo.service;

import com.example.demo.dao.AnswerEntityMapper;
import com.example.demo.dao.entity.AnswerEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AnswerService {
    @Autowired
    private AnswerEntityMapper answerEntityMapper;

    public List<AnswerEntity> searchByAnswerSheetId(AnswerEntity answerEntity) {
        List<AnswerEntity> result = answerEntityMapper.searchByAnswerSheetId(answerEntity);
        return result;
    }
}
